demos.Patientscard = Ext.extend( Ext.Panel, {
    title: 'Patients',
	iconCls: 'team',
    fullscreen: true,
    cardSwitchAnimation: 'slide',
    layout: 'card',
    initComponent: function() {
        Ext.apply(this, {
        	
//    dockedItems: [{
//        xtype: 'toolbar',
//        title: 'Patients'
//    }],

//        	 items: [{
//        		html: '<p>Docking tabs to the bottom will automatically change their style. The tabs below are ui="light", though the standard type is dark. Badges (like the 4 below) can be added by setting <code>badgeText</code> when creating a tab/card or by using <code>setBadge()</code> on the tab later.</p>'
//        	}]
        	items: [demos.Patientslist]

        });
        demos.Patientscard.superclass.initComponent.apply(this, arguments);
    }
});

Ext.reg('patientscard', demos.Patientscard);